<!DOCTYPE html>
<html>
<head>
  <title>文件上传</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
</head>
<body>
<form action="uploadTemp?userid=123" method="post" enctype="multipart/form-data">
  <label for="file">选择文件上传:</label>
  <input type="file" name="file" id="file">
  <input type="submit" value="上传">
</form>
</body>
</html>